Skip to content

Deploy the registration service using the new SSA client #1171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 2, 2025

Conversation

metlos
Copy link
Contributor

@metlos metlos commented Apr 30, 2025

This was not as simple as initially thought because SSA client does not report the fact whether the objects were updated or not back to the caller.

This was relied upon when determining the "deploying" and "deployed" phases of the registration service as reported in the ToolchainConfig.status.

This has been discussed and we agreed to drop the distinction and merely consider the registration service not deployed or deployed.

Related PRs:

Copy link
Contributor

@MatousJobanek MatousJobanek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool 👍 Thanks for the simplification

Copy link

openshift-ci bot commented May 2, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fbm3307, MatousJobanek, metlos

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [MatousJobanek,fbm3307,metlos]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

sonarqubecloud bot commented May 2, 2025

@metlos metlos merged commit c00d530 into codeready-toolchain:master May 2, 2025
12 of 15 checks passed
Copy link

codecov bot commented May 2, 2025

Codecov Report

Attention: Patch coverage is 87.50000% with 1 line in your changes missing coverage. Please review.

Project coverage is 83.56%. Comparing base (2ad07de) to head (d8c0e91).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...lers/toolchainconfig/toolchainconfig_controller.go 87.50% 1 Missing ⚠️

❌ Your changes status has failed because you have indirect coverage changes. Learn more about Unexpected Coverage Changes and reasons for indirect coverage changes.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1171      +/-   ##
==========================================
+ Coverage   83.51%   83.56%   +0.04%     
==========================================
  Files          82       82              
  Lines        7948     7926      -22     
==========================================
- Hits         6638     6623      -15     
+ Misses       1107     1102       -5     
+ Partials      203      201       -2     
Files with missing lines Coverage Δ
...lers/toolchainconfig/toolchainconfig_controller.go 86.17% <87.50%> (+3.42%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants